package com.qf.smartdevice.service;

import com.github.pagehelper.PageInfo;
import com.qf.smartdevice.pojo.Areas;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IAreasService {
    PageInfo<Areas> findAllArea(int page, int limit, String areaname, Long status);

    List<Areas> getAllParentArea();

    List<Areas> getAllAreasByParentId(Long parendId);

    int deleteByIdArea(int[] ids);

    int insertArea(Areas areas);

    int updateArea(Areas areas);

}
